Optimal. Leaf size=109 \[ \frac {2 F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{3 a^2 d}-\frac {E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a^2 d}+\frac {\sin (c+d x) \sqrt {\cos (c+d x)}}{a^2 d (\cos (c+d x)+1)}-\frac {\sin (c+d x) \sqrt {\cos (c+d x)}}{3 d (a \cos (c+d x)+a)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 109, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {2765, 2978, 2748, 2641, 2639} \[ \frac {2 F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{3 a^2 d}-\frac {E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a^2 d}+\frac {\sin (c+d x) \sqrt {\cos (c+d x)}}{a^2 d (\cos (c+d x)+1)}-\frac {\sin (c+d x) \sqrt {\cos (c+d x)}}{3 d (a \cos (c+d x)+a)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2639
Rule 2641
Rule 2748
Rule 2765
Rule 2978
Rubi steps
\begin {align*} \int \frac {\cos ^{\frac {3}{2}}(c+d x)}{(a+a \cos (c+d x))^2} \, dx &=-\frac {\sqrt {\cos (c+d x)} \sin (c+d x)}{3 d (a+a \cos (c+d x))^2}-\frac {\int \frac {\frac {a}{2}-\frac {5}{2} a \cos (c+d x)}{\sqrt {\cos (c+d x)} (a+a \cos (c+d x))} \, dx}{3 a^2}\\ &=\frac {\sqrt {\cos (c+d x)} \sin (c+d x)}{a^2 d (1+\cos (c+d x))}-\frac {\sqrt {\cos (c+d x)} \sin (c+d x)}{3 d (a+a \cos (c+d x))^2}-\frac {\int \frac {-a^2+\frac {3}{2} a^2 \cos (c+d x)}{\sqrt {\cos (c+d x)}} \, dx}{3 a^4}\\ &=\frac {\sqrt {\cos (c+d x)} \sin (c+d x)}{a^2 d (1+\cos (c+d x))}-\frac {\sqrt {\cos (c+d x)} \sin (c+d x)}{3 d (a+a \cos (c+d x))^2}+\frac {\int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{3 a^2}-\frac {\int \sqrt {\cos (c+d x)} \, dx}{2 a^2}\\ &=-\frac {E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a^2 d}+\frac {2 F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{3 a^2 d}+\frac {\sqrt {\cos (c+d x)} \sin (c+d x)}{a^2 d (1+\cos (c+d x))}-\frac {\sqrt {\cos (c+d x)} \sin (c+d x)}{3 d (a+a \cos (c+d x))^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 6.32, size = 640, normalized size = 5.87 \[ -\frac {4 \csc \left (\frac {c}{2}\right ) \sec \left (\frac {c}{2}\right ) \cos ^4\left (\frac {c}{2}+\frac {d x}{2}\right ) \sqrt {1-\sin \left (d x-\tan ^{-1}(\cot (c))\right )} \sqrt {\sin (c) \left (-\sqrt {\cot ^2(c)+1}\right ) \sin \left (d x-\tan ^{-1}(\cot (c))\right )} \sqrt {\sin \left (d x-\tan ^{-1}(\cot (c))\right )+1} \sec \left (d x-\tan ^{-1}(\cot (c))\right ) \, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};\sin ^2\left (d x-\tan ^{-1}(\cot (c))\right )\right )}{3 d \sqrt {\cot ^2(c)+1} (a \cos (c+d x)+a)^2}-\frac {i \csc \left (\frac {c}{2}\right ) \sec \left (\frac {c}{2}\right ) \cos ^4\left (\frac {c}{2}+\frac {d x}{2}\right ) \left (\frac {2 e^{2 i d x} \sqrt {e^{-i d x} \left (2 i \sin (c) \left (-1+e^{2 i d x}\right )+2 \cos (c) \left (1+e^{2 i d x}\right )\right )} \sqrt {i \sin (2 c) e^{2 i d x}+\cos (2 c) e^{2 i d x}+1} \, _2F_1\left (\frac {1}{2},\frac {3}{4};\frac {7}{4};-e^{2 i d x} (\cos (c)+i \sin (c))^2\right )}{3 i d \cos (c) \left (1+e^{2 i d x}\right )-3 d \sin (c) \left (-1+e^{2 i d x}\right )}-\frac {2 \sqrt {e^{-i d x} \left (2 i \sin (c) \left (-1+e^{2 i d x}\right )+2 \cos (c) \left (1+e^{2 i d x}\right )\right )} \sqrt {i \sin (2 c) e^{2 i d x}+\cos (2 c) e^{2 i d x}+1} \, _2F_1\left (-\frac {1}{4},\frac {1}{2};\frac {3}{4};-e^{2 i d x} (\cos (c)+i \sin (c))^2\right )}{d \sin (c) \left (-1+e^{2 i d x}\right )-i d \cos (c) \left (1+e^{2 i d x}\right )}\right )}{2 (a \cos (c+d x)+a)^2}+\frac {\sqrt {\cos (c+d x)} \cos ^4\left (\frac {c}{2}+\frac {d x}{2}\right ) \left (-\frac {2 \sec \left (\frac {c}{2}\right ) \sin \left (\frac {d x}{2}\right ) \sec ^3\left (\frac {c}{2}+\frac {d x}{2}\right )}{3 d}-\frac {2 \tan \left (\frac {c}{2}\right ) \sec ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{3 d}+\frac {4 \sec \left (\frac {c}{2}\right ) \sin \left (\frac {d x}{2}\right ) \sec \left (\frac {c}{2}+\frac {d x}{2}\right )}{d}+\frac {4 \csc (c)}{d}\right )}{(a \cos (c+d x)+a)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.98, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\cos \left (d x + c\right )^{\frac {3}{2}}}{a^{2} \cos \left (d x + c\right )^{2} + 2 \, a^{2} \cos \left (d x + c\right ) + a^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (d x + c\right )^{\frac {3}{2}}}{{\left (a \cos \left (d x + c\right ) + a\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.58, size = 257, normalized size = 2.36 \[ -\frac {\sqrt {\left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (12 \left (\cos ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+4 \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {-2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+1}\, \EllipticF \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) \left (\cos ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+6 \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {-2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+1}\, \left (\cos ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )-20 \left (\cos ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+9 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right )}{6 a^{2} \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}\, \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{3} \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (d x + c\right )^{\frac {3}{2}}}{{\left (a \cos \left (d x + c\right ) + a\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\cos \left (c+d\,x\right )}^{3/2}}{{\left (a+a\,\cos \left (c+d\,x\right )\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________